﻿<%@ Control Language="c#" Inherits="TTQT.Administration.Log" CodeFile="Log.ascx.cs" %>
<meta content="False" name="vs_snapToGrid">
<asp:Panel id="pnlQuickSearch" runat="server">
	<DIV style="WIDTH: 456px; POSITION: relative; HEIGHT: 128px">
		<asp:label id="lblQuickSearch" style="Z-INDEX: 110; LEFT: 16px; POSITION: absolute; TOP: 8px"
			runat="server" Width="116px" Font-Bold="True">Tìm kiếm nhanh</asp:label>
		<asp:label id="lblPrompt1" style="Z-INDEX: 109; LEFT: 16px; POSITION: absolute; TOP: 32px"
			runat="server" Font-Bold="True">Bạn muốn xem Log vào thời điểm nào?</asp:label>
		<asp:label id="Label2" style="Z-INDEX: 105; LEFT: 16px; POSITION: absolute; TOP: 48px" runat="server">Năm</asp:label>
		<asp:textbox id="tbxYear" style="Z-INDEX: 103; LEFT: 72px; POSITION: absolute; TOP: 48px" runat="server"
			Width="40px" MaxLength="4"></asp:textbox>
		<asp:Label id="Label1" style="Z-INDEX: 104; LEFT: 16px; POSITION: absolute; TOP: 72px" runat="server">Tháng</asp:Label>
		<asp:DropDownList id="ddlMonth" style="Z-INDEX: 102; LEFT: 72px; POSITION: absolute; TOP: 72px" runat="server"
			Width="64px" onselectedindexchanged="ddlMonth_SelectedIndexChanged"></asp:DropDownList>
		<asp:Button id="btnQckSrch" style="Z-INDEX: 106; LEFT: 8px; POSITION: absolute; TOP: 96px" runat="server"
			Text="Thực hiện" onclick="btnQckSrch_Click"></asp:Button>
		<asp:Button id="btnReset" style="Z-INDEX: 107; LEFT: 112px; POSITION: absolute; TOP: 96px" runat="server"
			Text="Nhập lại"></asp:Button>
		<asp:Button id="btnAdvSearch" style="Z-INDEX: 108; LEFT: 200px; POSITION: absolute; TOP: 96px"
			runat="server" Text="Tìm kiếm nâng cao"></asp:Button>
		<asp:Button id="btnExitQckSrch" style="Z-INDEX: 101; LEFT: 384px; POSITION: absolute; TOP: 96px"
			runat="server" Text="Thoát"></asp:Button></DIV>
</asp:Panel>
<asp:Panel id="pnlAdvancedSearch" runat="server" Height="116px">
	<DIV style="WIDTH: 456px; POSITION: relative; HEIGHT: 152px">
		<asp:Label id="lblAdvancedSearch" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 8px"
			runat="server" Font-Bold="True">Tìm kiếm nâng cao</asp:Label>
		<asp:Label id="lblPrompt2" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 32px"
			runat="server" Font-Bold="True">Bạn muốn tìm kiếm cụ thể:</asp:Label>
		<asp:RadioButton id="rbnByDay" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 56px" runat="server"
			Text="Theo ngày"></asp:RadioButton>
		<asp:RadioButton id="rbnByTranID" style="Z-INDEX: 104; LEFT: 8px; POSITION: absolute; TOP: 80px"
			runat="server" Text="Theo mã giao dịch"></asp:RadioButton>
		<asp:Button id="btnAvdSrch" style="Z-INDEX: 105; LEFT: 8px; POSITION: absolute; TOP: 112px"
			runat="server" Text="Thực hiện"></asp:Button>
		<asp:Button id="btnExitAdvSrch" style="Z-INDEX: 106; LEFT: 112px; POSITION: absolute; TOP: 112px"
			runat="server" Text="Thoát"></asp:Button></DIV>
</asp:Panel>
<asp:Panel id="pnlSrchByDate" runat="server" Height="264px">
	<DIV style="WIDTH: 505px; POSITION: relative; HEIGHT: 268px">
		<asp:Label id="lblSelectDate" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 32px"
			runat="server" Width="200px" Font-Bold="True">Bạn hãy chọn một ngày cụ thể</asp:Label>
		<asp:Calendar id="Calendar" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 56px" runat="server"
			ShowGridLines="True" BorderColor="#FFCC66" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399"
			DayNameFormat="FirstLetter" BackColor="#FFFFCC" BorderWidth="1px" Width="472px" Height="144px" onselectionchanged="Calendar_SelectionChanged">
			<TodayDayStyle ForeColor="White" BackColor="#FFCC66"></TodayDayStyle>
			<SelectorStyle BackColor="#FFCC66"></SelectorStyle>
			<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC"></NextPrevStyle>
			<DayHeaderStyle Height="1px" BackColor="#FFCC66"></DayHeaderStyle>
			<SelectedDayStyle Font-Bold="True" BackColor="#CCCCFF"></SelectedDayStyle>
			<TitleStyle Font-Size="9pt" Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></TitleStyle>
			<OtherMonthDayStyle ForeColor="#CC9966"></OtherMonthDayStyle>
		</asp:Calendar>
		<asp:Button id="btnSrchByDate" style="Z-INDEX: 103; LEFT: 208px; POSITION: absolute; TOP: 224px"
			runat="server" Text="Xem"></asp:Button>
		<asp:Button id="btnExitSrchByDate" style="Z-INDEX: 104; LEFT: 264px; POSITION: absolute; TOP: 224px"
			runat="server" Text="Thoát"></asp:Button>
		<asp:Label id="lblHeader" style="Z-INDEX: 105; LEFT: 16px; POSITION: absolute; TOP: 8px" runat="server"
			Font-Bold="True">Tìm kiếm nâng cao theo ngày</asp:Label></DIV>
</asp:Panel>
<asp:Panel id="pnlSrchByTranID" runat="server" Height="114px">
	<DIV style="WIDTH: 408px; POSITION: relative; HEIGHT: 100px">
		<asp:Label id="lblHeader2" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 8px" runat="server"
			Font-Bold="True">Tìm kiếm nâng cao theo mã giao dịch</asp:Label>
		<asp:Label id="lblPrompt3" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 32px"
			runat="server" Font-Bold="True">Mã giao dịch</asp:Label>
		<asp:TextBox id="tbxTranID" style="Z-INDEX: 103; LEFT: 112px; POSITION: absolute; TOP: 32px"
			runat="server"></asp:TextBox>
		<asp:Button id="btnExitSrchByTranID" style="Z-INDEX: 104; LEFT: 112px; POSITION: absolute; TOP: 64px"
			runat="server" Text="Thoát"></asp:Button>
		<asp:Button id="btnSrchByTranId" style="Z-INDEX: 105; LEFT: 56px; POSITION: absolute; TOP: 64px"
			runat="server" Text="Xem"></asp:Button></DIV>
</asp:Panel><br>
<asp:Panel id="PnlResult" runat="server" Height="318px">
	<asp:Label id="lblInfo" runat="server"></asp:Label>
	<asp:DataGrid id="dgLog" runat="server" BorderWidth="2px" OnPageIndexChanged="Grid_Change" PageSize="10"
		CellPadding="0" AllowPaging="True" AutoGenerateColumns="False">
		<HeaderStyle Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
		<Columns>
			<asp:BoundColumn DataField="TimeLog" ReadOnly="True" HeaderText="Thời điểm">
				<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
			</asp:BoundColumn>
			<asp:BoundColumn DataField="User_Id" ReadOnly="True" HeaderText="ID người thực hiện">
				<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
			</asp:BoundColumn>
			<asp:BoundColumn DataField="Type" HeaderText="H&#236;nh thức">
				<ItemStyle HorizontalAlign="Left" VerticalAlign="Middle"></ItemStyle>
			</asp:BoundColumn>
			<asp:BoundColumn DataField="Content" HeaderText="Nội dung">
				<ItemStyle HorizontalAlign="Left" VerticalAlign="Middle"></ItemStyle>
			</asp:BoundColumn>
		</Columns>
		<PagerStyle NextPageText="Tiếp" PrevPageText="Trước" Mode="NumericPages"></PagerStyle>
	</asp:DataGrid>
	<asp:Button id="btnContinue" runat="server" Text="Tìm tiếp" onclick="btnContinue_Click"></asp:Button>
	<asp:Button id="btnFinish" runat="server" Text="Kết thúc" onclick="btnFinish_Click"></asp:Button>
</asp:Panel>
<br>
<br>
